//用于存放一些常量数据

export const socialListTh = [
    { name: '活动名称', sort: "name", width: '300px' },
    { name: '活动图片', width: '350px' },
    { name: '操作', width: '350px' }
];

export const timeFilter = [
    { name: '半小时', value: 0 },
    { name: '一小时', value: 1 },
    { name: '两小时', value: 2 },
    { name: '今天', value: 3 },
    { name: '昨天', value: 4 },
    { name: '本周', value: 5 },
]

export const tagsColor = ['green', 'cyan', 'blue', 'orange', 'red'];

export const orderListTh = [
    { name: '交易ID', width: '200px' },
    { name: '商品', width: '150px' },
    { name: '数量', width: '200px' },
    { name: '金额', width: '200px' },
    { name: '日期', width: '300px' }
];


export const addTagConfirm = {
    title: "打标签",
    subtitle: "",
    isInput: true,
    desc: "",
    leftBtn: "取消",
    rightBtn: "确认",
}

export const eventDateRangeList = [
    { type: 'overweek', name: '过去7天' },
    { type: 'overmonth', name: '过去30天' },
    { type: 'overthreemonth', name: '过去90天' },
];

export const lifeCycleList = {
    "关注粉丝": 1,
    "销售线索": 2,
    "高质量线索": 3,
    "销售机会": 4,
    "意向客户": 5,
    "付费客户": 6,
    "忠诚客户": 7,
    "其他": 8
}

export const eventListType = {
    text: "发送了一条消息：",
    click: "点击了一个菜单：",
    subscribe: "关注了公众号",
    unsubscribe: "取消了关注",
    SCAN: "扫描一个二维码：",
    tag: "打了一个标签：",
    VIEW: "点击了一个菜单：",
    image: "发送了一张图片",
    location: "主动发送了一个地理位置",
    LOCATION: "进入公众号并更新了地理位置",
    voice: "发送了一条语音",
    video: "发送了一个视频",
    link: "发送了一个链接",
    shortvideo: "发送了一个小视频",
    untag: "取消了一个标签："
}

export const eventTypeMap = {
    'text': {
        icon: 'fa fa-comment ico-text'
    },
    'CLICK': {
        icon: 'fa fa-external-link-square ico-click'
    },
    'VIEW': {
        icon: 'fa fa-external-link-square ico-view'
    },
    'subscribe': {
        icon: 'fa fa-eye ico-subscribe'
    },
    'unsubscribe': {
        icon: 'fa fa-eye-slash ico-unsubscribe'
    },
    'SCAN': {
        icon: 'fa fa-qrcode ico-scan'
    },
    'image': {
        icon: 'fa fa-image ico-image'
    },
    'location': {
        icon: 'fa fa-map-marker ico-location'
    },
    'LOCATION': {
        icon: 'fa fa-map-marker ico-location'
    },
    'voice': {
        icon: 'fa fa-microphone ico-voice'
    },
    'video': {
        icon: 'fa fa-video-camera ico-video'
    },
    'link': {
        icon: 'fa fa-chain ico-link'
    },
    'shortvideo': {
        icon: 'fa fa-youtube-play ico-shortvideo'
    },
    'tag': {
        icon: 'fa fa-tag ico-tag'
    },
    'untag': {
        icon: 'fa fa-tag ico-untag'
    },
    'fht_leadflow_form': {
        icon: 'fa fa-mobile ico-mobile'
    },
    'default': {
        icon: 'fa fa-globe ico-globe'
    },
    shopping: {
        icon: 'fa fa-shopping-cart bg-yellow'
    },
    visit: {
        icon: 'fa fa-home bg-aqua'
    },
    add: {
        icon: 'fa fa-plus bg-aqua'
    }
};

export const iconList = {
    text: "fa fa-comment ico-text",
    click: "fa fa-external-link-square ico-click",
    subscribe: "fa fa-eye ico-subscribe",
    unsubscribe: "fa fa-eye-slash ico-unsubscribe",
    SCAN: "fa fa-qrcode ico-scan",
    tag: "fa fa-tag ico-tag",
    VIEW: "fa fa-external-link-square ico-view",
    image: "fa fa-image ico-image",
    location: " fa fa-map-marker ico-location",
    LOCATION: " fa fa-map-marker ico-location",
    voice: " fa fa-microphone ico-voice",
    video: " fa fa-video-camera ico-video",
    link: "fa fa-chain ico-link",
    shortvideo: "fa fa-youtube-play ico-shortvideo",
    untag: "fa fa-tag ico-untag"
}
export const moreEventMessageTypeList = ['加载更多...', '......', '没有更多事件了']
export const userListMockData = {
    "total": 2,
    "data": [
        { customerId: 1, msec: 1506598946381, headImage: '300794f1f16c5b639ea9cab59c852999', customerName: '女生浓度', nickname: '浓度。1', gender: '女', address: '北京海淀区', mobile: '18899998888', email: '123456@gmail.com', avatar: "http://wx.qlogo.cn/mmopen/Qugsr4jK8MD6Hk570TabjYcNnMVhOic0Z9fZW8Y7t6jicq71oRJWJJM4PCA4qYytltUmXaMDoIicJeqLJZY6fYNwZBTxSo4iabcv/0", createTimestamp: "2017-01-18 15:01:58" },
        // { customerId: 2, msec: 1506598946381, customerName: '女生浓度2', nickname: '浓度。2', gender: '女', address: '北京海淀区', mobile: '18899998888', email: '123456@gmail.com', avatar: "http://wx.qlogo.cn/mmopen/Qugsr4jK8MD6Hk570TabjYcNnMVhOic0Z9fZW8Y7t6jicq71oRJWJJM4PCA4qYytltUmXaMDoIicJeqLJZY6fYNwZBTxSo4iabcv/0", createTimestamp: "2017-01-18 15:01:58" },
    ]

}

export const mockOrderData = {
    total: 20,
    data: [
        {
            dealId: 1,
            goodsName: "Armani衣服",
            qty: 1,
            amount: 568.00,
            dealDate: "2015-12-11"
        },
        {
            dealId: 2,
            goodsName: "Armani衣服",
            qty: 1,
            amount: 568.00,
            dealDate: "2015-12-11"
        },
        {
            dealId: 3,
            goodsName: "Armani衣服",
            qty: 1,
            amount: 568.00,
            dealDate: "2015-12-10"
        },
        {
            dealId: 4,
            goodsName: "Armani衣服",
            qty: 1,
            amount: 568.00,
            dealDate: "2015-12-09"
        },
        {
            dealId: 5,
            goodsName: "Armani衣服",
            qty: 1,
            amount: 568.00,
            dealDate: "2015-12-09"
        }

    ]
}


export const visitHistoryData = {
    "success": true,
    "result": {
        "total": 19,
        "size": 10,
        "data": [
            {
                "store": {
                    "storelogId": 3444,
                    "eventId": 3626,
                    "storeName": "万博欧时力店",
                    "headImage": "0facf93b7e3647391f75f0ecbe42fe71",
                    "snapTime": "2017-09-25 15:23:08",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3626,
                    "eventType": "2",
                    "eventTimestamp": "2017-09-25 15:23:09",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3407,
                    "eventId": 3589,
                    "storeName": "万博欧时力店",
                    "headImage": "d1b842cade30aaffd68ecd8638822997",
                    "snapTime": "2017-09-25 14:57:22",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3589,
                    "eventType": "1",
                    "eventTimestamp": "2017-09-25 14:57:22",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3285,
                    "eventId": 3467,
                    "storeName": "万博欧时力店",
                    "headImage": "6a50fe39ee011b1ac1166b3c516ed224",
                    "snapTime": "2017-09-25 13:14:40",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3467,
                    "eventType": "2",
                    "eventTimestamp": "2017-09-25 13:14:41",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3257,
                    "eventId": 3439,
                    "storeName": "万博欧时力店",
                    "headImage": "c6f82ad2191081f1ef5dc56c0b95d04b",
                    "snapTime": "2017-09-25 12:34:57",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3439,
                    "eventType": "2",
                    "eventTimestamp": "2017-09-25 12:34:58",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3249,
                    "eventId": 3431,
                    "storeName": "万博欧时力店",
                    "headImage": "664635bc7659b1091d9020a49754932f",
                    "snapTime": "2017-09-25 12:30:21",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3431,
                    "eventType": "1",
                    "eventTimestamp": "2017-09-25 12:30:22",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3248,
                    "eventId": 3430,
                    "storeName": "万博欧时力店",
                    "headImage": "f69d47ab3834ecee93a61a8fe0b1effe",
                    "snapTime": "2017-09-25 12:26:51",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3430,
                    "eventType": "1",
                    "eventTimestamp": "2017-09-25 12:26:52",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3243,
                    "eventId": 3425,
                    "storeName": "万博欧时力店",
                    "headImage": "f47bf82b4f3dcaaac01a1569fe2d3bd4",
                    "snapTime": "2017-09-25 12:16:45",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3425,
                    "eventType": "1",
                    "eventTimestamp": "2017-09-25 12:16:46",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3201,
                    "eventId": 3383,
                    "storeName": "万博欧时力店",
                    "headImage": "49299f0c69c4dd20cb011e5b059e3807",
                    "snapTime": "2017-09-25 10:48:18",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3383,
                    "eventType": "1",
                    "eventTimestamp": "2017-09-25 10:48:19",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3195,
                    "eventId": 3377,
                    "storeName": "万博欧时力店",
                    "headImage": "5c13f50239e71473e6495dcd8fc02e29",
                    "snapTime": "2017-09-24 21:09:55",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3377,
                    "eventType": "1",
                    "eventTimestamp": "2017-09-24 21:09:55",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            },
            {
                "store": {
                    "storelogId": 3112,
                    "eventId": 3294,
                    "storeName": "万博欧时力店",
                    "headImage": "f67c69a20942e6e11375b5ca1ae40f37",
                    "snapTime": "2017-09-24 20:39:24",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                },
                "event": {
                    "eventId": 3294,
                    "eventType": "1",
                    "eventTimestamp": "2017-09-24 20:39:24",
                    "contactId": "bc030c9b-4d42-4a00-942f-d7667ace4c27"
                }
            }
        ],
        "page": 1,
        "status": true
    }
};

export const orderList = {
    success: true,
    result: {
        total: 10,
        data: [
            {
                products: [
                    {
                        name: 'Nike 运动鞋',
                        cost: 699
                    },
                    {
                        name: 'Adidas 运动鞋',
                        cost: 999
                    },
                    {
                        name: '高级运动鞋',
                        cost: 799
                    },

                ],
                totalCount: 2497,
                date: '2017-3-7'
            },
            {
                products: [
                    {
                        name: 'Nike 运动鞋',
                        cost: 699
                    },
                    {
                        name: 'Adidas 运动鞋',
                        cost: 999
                    },
                    {
                        name: '高级运动鞋',
                        cost: 799
                    },

                ],
                totalCount: 2497,
                date: '2017-3-8'
            },
            {
                products: [
                    {
                        name: 'Nike 运动鞋',
                        cost: 699
                    },
                    {
                        name: 'Adidas 运动鞋',
                        cost: 999
                    },
                    {
                        name: '高级运动鞋',
                        cost: 799
                    },

                ],
                totalCount: 2497,
                date: '2017-3-9'
            }
        ]
    }
};

export const optionsList = [
    {
        type: 0,
        typeList: [0],
        name: '拷贝标签',
        icon: 'fa fa-chain',
        menuId: 0,
        sub: [
            { type: 0, name: '标签1', menuId: 3, icon: 'fa fa-chain', },
            { type: 1, name: '标签2', menuId: 4, icon: 'fa fa-chain', }
        ]
    },
    {
        type: 1,
        typeList: [1],
        name: '标准文章',
        icon: 'fa fa-file-text',
        menuId: 1,
        sub: [
            { type: 0, name: '文章1', menuId: 5, icon: 'fa fa-chain', },
            { type: 1, name: '文章2', menuId: 6, icon: 'fa fa-chain', },
            { type: 2, name: '文章3', menuId: 7, icon: 'fa fa-chain', },
            { type: 3, name: '文章4', menuId: 8, icon: 'fa fa-chain', },
            { type: 4, name: '文章5', menuId: 9, icon: 'fa fa-chain', },
            { type: 5, name: '文章6', menuId: 10, icon: 'fa fa-chain', },
        ]
    },
    {
        type: 1,
        typeList: [1],
        name: '标准文章',
        icon: 'fa fa-file-text',
        menuId: 2,
        // sub: [
        //     { type: 0, name: '文章1', menuId: 5, icon: 'fa fa-chain', },
        //     { type: 1, name: '文章2', menuId: 6, icon: 'fa fa-chain', },
        //     { type: 2, name: '文章3', menuId: 7, icon: 'fa fa-chain', },
        //     { type: 3, name: '文章4', menuId: 8, icon: 'fa fa-chain', },
        //     { type: 4, name: '文章5', menuId: 9, icon: 'fa fa-chain', },
        //     { type: 5, name: '文章6', menuId: 10, icon: 'fa fa-chain', },
        // ]
    },
];

const menuitems = [
    {
        text: '拷贝标签',
        menuId: 1,
        submenu: [
            {
                text: '标签1',
                menuId: 3,
            },
            {
                text: '标签2',
                menuId: 4,
            },
        ]
    },
    {
        text: '移动分组',
        menuId: 2,
        submenu: [
            {
                text: '分组1',
                menuId: 5,
            },
            {
                text: '分组2',
                menuId: 6,
            },
        ]
    }
]

export const profileList = [
    { type: 0, typeList: [0], name: '国家', icon: 'fa fa-globe' },
    { type: 1, typeList: [1], name: '性别', icon: 'fa  fa-transgender' },
    { type: 2, typeList: [1], name: '年龄', icon: 'fa fa-bar-chart' },
    { type: 3, typeList: [1], name: '用户类型', icon: 'fa fa-users' },
];

export const userAttribute = [
    [
        { type: 0, typeList: [0], name: '中国', icon: 'fa fa-flag' },
        { type: 1, typeList: [1], name: '美国', icon: 'fa fa-flag' },
        { type: 2, typeList: [1], name: '英国', icon: 'fa fa-flag' },
        { type: 3, typeList: [1], name: '澳大利亚', icon: 'fa fa-flag' },
        { type: 4, typeList: [1], name: '巴基斯坦', icon: 'fa fa-flag' },
    ],
    [
        { type: 0, typeList: [1], name: '男' },
        { type: 1, typeList: [1], name: '女' },
    ],
    [
        { type: 0, typeList: [1], name: '10-20岁' },
        { type: 1, typeList: [1], name: '20-25岁' },
    ],
    [
        { type: 0, typeList: [1], name: '关注粉丝' },
        { type: 1, typeList: [1], name: '付费客户' },
        { type: 2, typeList: [1], name: '关注粉丝' },
        { type: 3, typeList: [1], name: '付费客户' },

    ],


];